import cn.hutool.system.SystemUtil;

public class 系统属性 {
    public static void main(String[] args) {
        System.out.println("Java Virtual Machine Specification信息");
        System.out.println(SystemUtil.getJvmSpecInfo());
        System.out.println("Java Virtual Machine Implementation信息");
        System.out.println(SystemUtil.getJvmInfo());
        System.out.println("Java Specification信息");
        System.out.println(SystemUtil.getJavaSpecInfo());
        System.out.println("Java Implementation信息");
        System.out.println(SystemUtil.getJavaInfo());
        System.out.println("Java运行时信息");
        System.out.println(SystemUtil.getJavaRuntimeInfo());
        System.out.println("系统信息");
        System.out.println(SystemUtil.getOsInfo());
        System.out.println("用户信息");
        System.out.println(SystemUtil.getUserInfo());
        System.out.println("当前主机网络地址信息");
        System.out.println(SystemUtil.getHostInfo());
        System.out.println("运行时信息，包括内存总大小、已用大小、可用大小等");
        System.out.println(SystemUtil.getRuntimeInfo());
    }
}
